package com.lib.entity;

public class Book {
    private int typeid;//书籍类型
    private String name;//书籍名称
    private double price;//书籍价格
    private String intro;//书籍介绍
    private String press;//书籍出版社
    private String author;//书籍作者
    private int stock;//书籍库存
    private String address;//书籍储存地址

    public int getTypeid() {
        return typeid;
    }

    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Book(int typeid, String name, double price, String intro, String press, String author, int stock, String address) {
        this.typeid = typeid;
        this.name = name;
        this.price = price;
        this.intro = intro;
        this.press = press;
        this.author = author;
        this.stock = stock;
        this.address = address;
    }

    public Book() {
    }
}
